package com.ygxsk.carhome.response;

import android.os.Parcel;
import android.os.Parcelable;

import java.util.ArrayList;

/*
 * @Author:itchenqi175@163.com
 * @Time:2023-08-07  17:43
 * @Description:添加潜客的详情信息内部该有一个进度列表
 */
public class LeadDetailItemBean implements Parcelable {

//    {
//        "code": "20000",
//            "data": {
//        "ageNum": 0,
//                "carBrandId": 97,
//                "carBrandName": "长城",
//                "carSeriesId": 7,
//                "carSeriesName": "宋",
//                "createCustomerId": 4,
//                "createTime": "2023-08-07 18:12:52",
//                "createsource": 2,
//                "createsourceName": "自然到店",
//                "customerId": 0,
//                "customerName": "陈大测试仪",
//                "customerPhone": "17531108969",
//                "isDelete": 0,
//                "isSend": 1,
//                "latentCustomerId": 68,
//                "latentRecordVoList": [],
//        "latentType": 1,
//                "latentTypeName": "新车",
//                "memberSex": 0,
//                "oldCarRemark": "",
//                "receptionId": 4,
//                "receptionName": "",
//                "recomendCode": "",
//                "recommendId": 0,
//                "recommendName": "",
//                "recommendPhone": "",
//                "remark": "测试备注",
//                "shopInfoId": 1495,
//                "shopName": "",
//                "status": 0,
//                "statusName": "待联系",
//                "updateCustomerId": 0,
//                "vehicleId": 0,
//                "vehicleName": "测试车型",
//                "weChat": "18810042043"
//    },
//        "message": "success"
//    }

    //年龄信息
    private String ageNum;

    // 2023-8-23 16:23:00需求，这个做预约时间
    private String createTime;

    //车辆品牌的id
    private String carBrandId;
    //车辆品牌的名称
    private String carBrandName;

    //车系的id
    private String carSeriesId;
    //车系的名称
    private String carSeriesName;

    //客户来源的id
    private String createsource;
    //客户来源的文本形式
    private String createsourceName;

    //该客户的id
    private String customerName;
    //该客户的手机号信息
    private String customerPhone;

    //该潜客单据的id信息
    private String latentCustomerId;

    private ArrayList<LeadsFollowStepBean> latentRecordVoList = new ArrayList<>();

    //车辆的类型--新车或者二手车
    private String latentType;

    //车辆的类型，新车或者二手车
    private String latentTypeName;

    //客户的性别
    private String memberSex;

    //客户提交数据所在的店铺id
    private String shopInfoId;

    //店铺的名称内容
    private String shopName;

    //该单据的状态 数值格式的
    private String status;

    //该单据的状态 文字形式的
    private String statusName;

    //用户喜欢的车型
    private String vehicleId;

    //用户喜欢的车型的文字形式
    private String vehicleName;

    //微信号内容
    private String weChat;

    //备注信息
    private String remark;

    //推荐人
    private String recommendName;

    //接待人，招待顾问 接待顾问
    private String receptionName;

    private int isSend;

    //旧车，二手车信息
    private String oldCarRemark;

    //预约时间 2024-2-22 14:38:04
    private String appointedDay;


    public String getAppointedDay() {
        return appointedDay;
    }

    public void setAppointedDay(String appointedDay) {
        this.appointedDay = appointedDay;
    }

    public String getOldCarRemark() {
        return oldCarRemark;
    }

    public void setOldCarRemark(String oldCarRemark) {
        this.oldCarRemark = oldCarRemark;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public int getIsSend() {
        return isSend;
    }

    public void setIsSend(int isSend) {
        this.isSend = isSend;
    }

    public String getRecommendName() {
        return recommendName;
    }

    public void setRecommendName(String recommendName) {
        this.recommendName = recommendName;
    }

    public String getReceptionName() {
        return receptionName;
    }

    public void setReceptionName(String receptionName) {
        this.receptionName = receptionName;
    }

    public String getAgeNum() {
        return ageNum;
    }

    public void setAgeNum(String ageNum) {
        this.ageNum = ageNum;
    }

    public String getCarBrandId() {
        return carBrandId;
    }

    public void setCarBrandId(String carBrandId) {
        this.carBrandId = carBrandId;
    }

    public String getCarBrandName() {
        return carBrandName;
    }

    public void setCarBrandName(String carBrandName) {
        this.carBrandName = carBrandName;
    }

    public String getCarSeriesId() {
        return carSeriesId;
    }

    public void setCarSeriesId(String carSeriesId) {
        this.carSeriesId = carSeriesId;
    }

    public String getCarSeriesName() {
        return carSeriesName;
    }

    public void setCarSeriesName(String carSeriesName) {
        this.carSeriesName = carSeriesName;
    }

    public String getCreatesource() {
        return createsource;
    }

    public void setCreatesource(String createsource) {
        this.createsource = createsource;
    }

    public String getCreatesourceName() {
        return createsourceName;
    }

    public void setCreatesourceName(String createsourceName) {
        this.createsourceName = createsourceName;
    }

    public String getCustomerName() {
        return customerName;
    }

    public void setCustomerName(String customerName) {
        this.customerName = customerName;
    }

    public String getCustomerPhone() {
        return customerPhone;
    }

    public void setCustomerPhone(String customerPhone) {
        this.customerPhone = customerPhone;
    }

    public String getLatentCustomerId() {
        return latentCustomerId;
    }

    public void setLatentCustomerId(String latentCustomerId) {
        this.latentCustomerId = latentCustomerId;
    }

    public ArrayList<LeadsFollowStepBean> getLatentRecordVoList() {
        return latentRecordVoList;
    }

    public void setLatentRecordVoList(ArrayList<LeadsFollowStepBean> latentRecordVoList) {
        this.latentRecordVoList = latentRecordVoList;
    }

    public String getLatentType() {
        return latentType;
    }

    public void setLatentType(String latentType) {
        this.latentType = latentType;
    }

    public String getLatentTypeName() {
        return latentTypeName;
    }

    public void setLatentTypeName(String latentTypeName) {
        this.latentTypeName = latentTypeName;
    }

    public String getMemberSex() {
        return memberSex;
    }

    public void setMemberSex(String memberSex) {
        this.memberSex = memberSex;
    }

    public String getShopInfoId() {
        return shopInfoId;
    }

    public void setShopInfoId(String shopInfoId) {
        this.shopInfoId = shopInfoId;
    }

    public String getShopName() {
        return shopName;
    }

    public void setShopName(String shopName) {
        this.shopName = shopName;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getStatusName() {
        return statusName;
    }

    public void setStatusName(String statusName) {
        this.statusName = statusName;
    }

    public String getVehicleId() {
        return vehicleId;
    }

    public void setVehicleId(String vehicleId) {
        this.vehicleId = vehicleId;
    }

    public String getVehicleName() {
        return vehicleName;
    }

    public void setVehicleName(String vehicleName) {
        this.vehicleName = vehicleName;
    }

    public String getWeChat() {
        return weChat;
    }

    public void setWeChat(String weChat) {
        this.weChat = weChat;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(this.ageNum);
        dest.writeString(this.carBrandId);
        dest.writeString(this.carBrandName);
        dest.writeString(this.carSeriesId);
        dest.writeString(this.carSeriesName);
        dest.writeString(this.createsource);
        dest.writeString(this.createsourceName);
        dest.writeString(this.customerName);
        dest.writeString(this.customerPhone);
        dest.writeString(this.latentCustomerId);
        dest.writeList(this.latentRecordVoList);
        dest.writeString(this.latentType);
        dest.writeString(this.latentTypeName);
        dest.writeString(this.memberSex);
        dest.writeString(this.shopInfoId);
        dest.writeString(this.shopName);
        dest.writeString(this.status);
        dest.writeString(this.statusName);
        dest.writeString(this.vehicleId);
        dest.writeString(this.vehicleName);
        dest.writeString(this.weChat);
        dest.writeString(this.remark);
        dest.writeString(this.recommendName);
        dest.writeString(this.receptionName);
        dest.writeInt(this.isSend);
        dest.writeString(this.oldCarRemark);
    }

    public void readFromParcel(Parcel source) {
        this.ageNum = source.readString();
        this.carBrandId = source.readString();
        this.carBrandName = source.readString();
        this.carSeriesId = source.readString();
        this.carSeriesName = source.readString();
        this.createsource = source.readString();
        this.createsourceName = source.readString();
        this.customerName = source.readString();
        this.customerPhone = source.readString();
        this.latentCustomerId = source.readString();
        this.latentRecordVoList = new ArrayList<LeadsFollowStepBean>();
        source.readList(this.latentRecordVoList, LeadsFollowStepBean.class.getClassLoader());
        this.latentType = source.readString();
        this.latentTypeName = source.readString();
        this.memberSex = source.readString();
        this.shopInfoId = source.readString();
        this.shopName = source.readString();
        this.status = source.readString();
        this.statusName = source.readString();
        this.vehicleId = source.readString();
        this.vehicleName = source.readString();
        this.weChat = source.readString();
        this.remark = source.readString();
        this.recommendName = source.readString();
        this.receptionName = source.readString();
        this.isSend = source.readInt();
        this.oldCarRemark = source.readString();
    }

    public LeadDetailItemBean() {
    }

    protected LeadDetailItemBean(Parcel in) {
        this.ageNum = in.readString();
        this.carBrandId = in.readString();
        this.carBrandName = in.readString();
        this.carSeriesId = in.readString();
        this.carSeriesName = in.readString();
        this.createsource = in.readString();
        this.createsourceName = in.readString();
        this.customerName = in.readString();
        this.customerPhone = in.readString();
        this.latentCustomerId = in.readString();
        this.latentRecordVoList = new ArrayList<LeadsFollowStepBean>();
        in.readList(this.latentRecordVoList, LeadsFollowStepBean.class.getClassLoader());
        this.latentType = in.readString();
        this.latentTypeName = in.readString();
        this.memberSex = in.readString();
        this.shopInfoId = in.readString();
        this.shopName = in.readString();
        this.status = in.readString();
        this.statusName = in.readString();
        this.vehicleId = in.readString();
        this.vehicleName = in.readString();
        this.weChat = in.readString();
        this.remark = in.readString();
        this.recommendName = in.readString();
        this.receptionName = in.readString();
        this.isSend = in.readInt();
        this.oldCarRemark = in.readString();
    }

    public static final Parcelable.Creator<LeadDetailItemBean> CREATOR = new Parcelable.Creator<LeadDetailItemBean>() {
        @Override
        public LeadDetailItemBean createFromParcel(Parcel source) {
            return new LeadDetailItemBean(source);
        }

        @Override
        public LeadDetailItemBean[] newArray(int size) {
            return new LeadDetailItemBean[size];
        }
    };
}
